
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Toshiba
 */
public class bacobaco {

    public static void tes (int a, int b)
    {
        a++;
        b++;
    }

    public static void main(String[] args) {
        List<String> a = new ArrayList<String>();

        a.add("a");
        a.add("b");
        a.add("c");

        for (int i = 0; i < 3; i++)
        {
            System.out.println(a.get(i));
        }

        a.remove(0);

        for (int i = 0; i < 2; i++)
        {
            System.out.println(a.get(5));
        }
    }
}
